package org.orz.story.member.biz.person.service.impl;

import com.alibaba.fastjson.JSON;
import org.orz.story.member.biz.person.persistence.entities.MemPerson;
import org.orz.story.member.biz.person.persistence.mappers.MemPersonMapper;
import lombok.extern.slf4j.Slf4j;
import org.orz.story.member.biz.person.service.MemPersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class MemPersonServiceImpl implements MemPersonService {

    @Autowired
    private MemPersonMapper memPersonMapper;


    @Override
    public void test() {
        List<MemPerson> memPeople = memPersonMapper.selectList(null);
        log.info("输出：{}", JSON.toJSONString(memPeople));
    }
}
